package com.competition.common.utils.easyexcel;

import com.alibaba.excel.EasyExcel;
import com.alibaba.excel.enums.CellExtraTypeEnum;
import com.alibaba.excel.read.listener.PageReadListener;
import com.alibaba.fastjson2.JSON;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class Demo{
    public static void main(String[] args) {
        String fileName = "D:\\教学工作\\2024下\\2024年下期全校教师、班级、课程课表、实训安排表\\1.xls";
        EasyExcel.read(fileName, User.class, new DemoDataListener()).extraRead(CellExtraTypeEnum.MERGE).sheet().doRead();
    }
}